package com.wms.mapper;

import com.wms.entity.RoleResource;

import java.util.List;

public interface RoleResourceMapper extends IBaseMapper<RoleResource> {
    void deleteByRoleId(Long roleId);

    void deleteByRoleIds(List<Long> roleIds);

    Boolean isExist(RoleResource roleResource);

    List<Long> findResourceIdsByRoleId(Long roleId);
}
